open_project proj

set_top SkyNet
add_files SkyNet.cpp
add_files SkyNet.h
add_files DWCONV3X3.cpp
add_files PWCONV1X1.cpp
add_files convolution.cpp

add_files -tb main.cpp -cflags "-Wno-unknown-pragmas"
add_files -tb transform.cpp
add_files -tb utils.cpp
add_files -tb blob -cflags "-Wno-unknown-pragmas"
add_files -tb weight -cflags "-Wno-unknown-pragmas"

set_top SkyNet
open_solution data_flow

set_part {xczu3eg-sbva484-1-e}
create_clock -period 3.3

csim_design -O
csynth_design
cosim_design -O
exit